package main

import (
	"fmt"
	"vite-tsc-gin/internal/apiserver/options"
	"vite-tsc-gin/pkg/cli"

	"github.com/spf13/viper"
)

func main() {
	cli.LoadConfig("../etc/apiserver/apiserver.yaml", "apiserver.yml")
	var option options.Options
	viper.Unmarshal(&option)
	fmt.Println(option.GenericServerRunOptions)
	fmt.Println(option.InsecureServing)
	fmt.Println(option.SecureServing)
	fmt.Println(option.MySQLOptions)
	fmt.Println(option.RedisOptions)
}
